#[derive(Copy, Clone, Debug, Eq, PartialEq, PartialOrd)]
pub struct SegmentTime(pub i64);

impl From<i64> for SegmentTime {
    fn from(value: i64) -> Self {
        Self(value)
    }
}

impl SegmentTime {
    pub(crate) fn millis(&self) -> i64 {
        self.0 * 10
    }
}
